package org.msz.controller;

import org.springframework.stereotype.Component;
import org.springframework.web.context.annotation.RequestScope;

import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import java.util.List;

@Component
@Path("/menu")
@RequestScope
public class AppRS {
    @POST
    @Path("/list")
    @Produces({MediaType.APPLICATION_JSON + ";charset=UTF-8"})
    public Response allDiagnoses(
    ) {
        return Response.status(Response.Status.OK).entity(null).type(MediaType.APPLICATION_JSON_TYPE).build();
    }
}
